#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int x = 0, s = 0;
	while (!x != 0)s += ++x;
	printf("%d", s);
	return 0;
}